package net.lahuobao.finance.entity.payratedetail;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 费率设置明细
 * @author zhangdaihao
 * @date 2016-08-28 16:03:45
 * @version V1.0   
 *
 */
@Entity
@Table(name = "cargo_owner_pay_rates_detail", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class CargoOwnerPayRatesDetailEntity implements java.io.Serializable  {
    private Integer id;

    private String organizationId;

    private Boolean hasManageFee;

    private BigDecimal manageCarrierFee;

    private BigDecimal manageServiceFee;

    private Boolean hasAdvancedFee;

    private BigDecimal advancedCarrierFee;

    private BigDecimal advancedServiceFee;

    private Boolean hasInvoiceFee;

    private BigDecimal invoiceCarrierFee;

    private BigDecimal invoiceServiceFee;

    private Boolean hasInsuranceFee;

    private BigDecimal insuranceCarrierFee;

    private BigDecimal insuranceServiceFee;

    /**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键Id
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键Id
	 */
	public void setId(Integer id){
		this.id = id;
	}
	@Column(name ="organization_id",nullable=true)
	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	@Column(name ="has_manage_fee",nullable=true)
    public Boolean getHasManageFee() {
        return hasManageFee;
    }

    public void setHasManageFee(Boolean hasManageFee) {
        this.hasManageFee = hasManageFee;
    }
	@Column(name ="manage_carrier_fee",nullable=true)
    public BigDecimal getManageCarrierFee() {
        return manageCarrierFee;
    }

    public void setManageCarrierFee(BigDecimal manageCarrierFee) {
        this.manageCarrierFee = manageCarrierFee;
    }
	@Column(name ="manage_service_fee",nullable=true)
    public BigDecimal getManageServiceFee() {
        return manageServiceFee;
    }

    public void setManageServiceFee(BigDecimal manageServiceFee) {
        this.manageServiceFee = manageServiceFee;
    }
	@Column(name ="has_advanced_fee",nullable=true)
    public Boolean getHasAdvancedFee() {
        return hasAdvancedFee;
    }

    public void setHasAdvancedFee(Boolean hasAdvancedFee) {
        this.hasAdvancedFee = hasAdvancedFee;
    }
	@Column(name ="advanced_carrier_fee",nullable=true)
    public BigDecimal getAdvancedCarrierFee() {
        return advancedCarrierFee;
    }

    public void setAdvancedCarrierFee(BigDecimal advancedCarrierFee) {
        this.advancedCarrierFee = advancedCarrierFee;
    }
	@Column(name ="advanced_service_fee",nullable=true)
    public BigDecimal getAdvancedServiceFee() {
        return advancedServiceFee;
    }

    public void setAdvancedServiceFee(BigDecimal advancedServiceFee) {
        this.advancedServiceFee = advancedServiceFee;
    }
	@Column(name ="has_invoice_fee",nullable=true)
    public Boolean getHasInvoiceFee() {
        return hasInvoiceFee;
    }

    public void setHasInvoiceFee(Boolean hasInvoiceFee) {
        this.hasInvoiceFee = hasInvoiceFee;
    }
	@Column(name ="invoice_carrier_fee",nullable=true)
    public BigDecimal getInvoiceCarrierFee() {
        return invoiceCarrierFee;
    }

    public void setInvoiceCarrierFee(BigDecimal invoiceCarrierFee) {
        this.invoiceCarrierFee = invoiceCarrierFee;
    }
	@Column(name ="invoice_service_fee",nullable=true)
    public BigDecimal getInvoiceServiceFee() {
        return invoiceServiceFee;
    }

    public void setInvoiceServiceFee(BigDecimal invoiceServiceFee) {
        this.invoiceServiceFee = invoiceServiceFee;
    }
	@Column(name ="has_insurance_fee",nullable=true)
    public Boolean getHasInsuranceFee() {
        return hasInsuranceFee;
    }

    public void setHasInsuranceFee(Boolean hasInsuranceFee) {
        this.hasInsuranceFee = hasInsuranceFee;
    }
	@Column(name ="insurance_carrier_fee",nullable=true)
    public BigDecimal getInsuranceCarrierFee() {
        return insuranceCarrierFee;
    }

    public void setInsuranceCarrierFee(BigDecimal insuranceCarrierFee) {
        this.insuranceCarrierFee = insuranceCarrierFee;
    }
	@Column(name ="insurance_service_fee",nullable=true)
    public BigDecimal getInsuranceServiceFee() {
        return insuranceServiceFee;
    }

    public void setInsuranceServiceFee(BigDecimal insuranceServiceFee) {
        this.insuranceServiceFee = insuranceServiceFee;
    }
}